package com.yunxin.core.customer.dto;

import com.yunxin.common.base.BasePageRequest;
import com.yunxin.common.base.RangeSearch;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zero°
 * @since 2023-06-08
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Schema(description = "分页查询流失客户列表对象")
public class CustomerRunPageDto extends BasePageRequest implements Serializable {

    @Schema(description = "客户手机号")
    private String phone;

    @Schema(description = "客户姓名")
    private String name;

    @Schema(description = "客户开始流失时间")
    private String startRunTime;

    @Schema(description = "客户结束流失时间")
    private String endRunTime;

    @Schema(description = "业务员id")
    private Long salesmanId;

    @Schema(description = "话务员id")
    private Long telephonerId;

    @Schema(description = "业务员跟进进度  0未跟进 1已跟进")
    private Integer salesmanStatus;

    @Schema(description = "性别 1.男 2.女")
    private Integer sex;

    @Schema(description = "流失原因")
    private String cause;

    @Schema(description = "流失客户来源")
    private String runSource;

    @Schema(description = "筛选标签")
    private List<Long> tagInfoIds;

    /**
     * 流失状态 1.流失 2.未流失
     */
    @Schema(description = "流失状态 1.流失 2.未流失",hidden = true)
    private Integer runStatus;

    @Schema(description = "团队Id")
    private Integer teamId;
    /**
     * 商户id
     */
    @Schema(hidden = true)
    private Long merchantId;


    /**
     * 系统用户id
     */
    @Schema(hidden = true)
    private List<Long> sysUserIds;

}
